skynet入门实践

一、在jemalloc 中需要的Autoconfig

yum install autoconf

二、编译Lua时出现 make[1]: Entering directory `/home/cyrus/code/skynet/3rd/lua' gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.c lua.c:67:31: error: readline/readline.h: No such file or directory lua.c:68:30: error: readline/history.h: No such file or directory lua.c: In function ‘pushline’: lua.c:265: warning: implicit declaration of function ‘readline’ lua.c:265: warning: assignment makes pointer from integer without a cast lua.c: In function ‘loadline’: lua.c:297: warning: implicit declaration of function ‘add_history’ 时应该安装

yum install libtermcap-devel ncurses-devel libevent-devel readline-devel